package com.zc.im.common.core.domain;

import com.zc.im.common.constant.enums.EquipmentTypeEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Project：im
 * Date：2022/4/22
 * Time：15:29
 * Description：基础用户信息
 *
 * @author Challen.Zhang
 * @version 1.0
 */
@Data
@EqualsAndHashCode
public class BaseUserInfo {

    private Long userId;

    private EquipmentTypeEnum equipmentType;

    public String getUniqueKey() {
        return userId+ "-" + equipmentType;
    }

}
